package br.com.ctm.advogadope.rest.entity;

import javax.xml.bind.annotation.XmlRootElement;

import br.com.ctm.advogadope.model.Tribunal;
import br.com.ctm.advogadope.model.Tribunal.TipoJuizo;
import br.jus.cnj.intercomunicacao.beans.ProcessoJudicial;

@XmlRootElement(name = "processo")
public class ProcessoDTO extends ProcessoJudicial {
	
	private ProcessoJudicial processoJudicial;
	private Tribunal tribunal;
	private TipoJuizo tipoJuizo;
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ProcessoDTO() {
		super();
	}

	public ProcessoDTO(ProcessoJudicial processoJudicial) {
		super();
		this.processoJudicial = processoJudicial;
	}

	/**
	 * @return the processoJudicial
	 */
	public ProcessoJudicial getProcessoJudicial() {
		return processoJudicial;
	}

	/**
	 * @param processoJudicial the processoJudicial to set
	 */
	public void setProcessoJudicial(ProcessoJudicial processoJudicial) {
		this.processoJudicial = processoJudicial;
	}

	/**
	 * @return the tribunal
	 */
	public Tribunal getTribunal() {
		return tribunal;
	}

	/**
	 * @param tribunal the tribunal to set
	 */
	public void setTribunal(Tribunal tribunal) {
		this.tribunal = tribunal;
	}

	/**
	 * @return the tipoJuizo
	 */
	public TipoJuizo getTipoJuizo() {
		return tipoJuizo;
	}

	/**
	 * @param tipoJuizo the tipoJuizo to set
	 */
	public void setTipoJuizo(TipoJuizo tipoJuizo) {
		this.tipoJuizo = tipoJuizo;
	}
	
}
